#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif

void Test1(){
    vector<int> v = {2, 8, 9, 6, 3, 2, 1};
    int max = Solution().MaxElement(v);
    if (max == 9) std::cout << "Test 1 .... OK" << std::endl;
    else std::cout << "Test 1 .... Failed" << std::endl;
}

void Test2(){
    vector<int> v = {2, 8, 72, 2, 72};
    int max = Solution().MaxElement(v);
    if (max == 72) std::cout << "Test 2 .... OK" << std::endl;
    else std::cout << "Test 2 .... Failed" << std::endl;
}

int main(){
    Test1();
    Test2();
    return 0;
}